import Vue from "vue"
import VueRouter from "vue-router"

const Props=()=>import("@/pages/Props")
const Event=()=>import("@/pages/Event")
const VModel=()=>import("@/pages/VModel")
const Sync=()=>import("@/pages/Sync")
const AttrsListeners=()=>import("@/pages/AttrsListeners")


Vue.use(VueRouter)

export default new VueRouter({
    mode:"history",
    routes:[
        {
            path:"/props",
            name:"props",
            component:Props,
        },
        {
            path:"/event",
            name:"event",
            component:Event,
        },
        {
            path:"/vModel",
            name:"vModel",
            component:VModel,
        },
        {
            path:"/sync",
            name:"sync",
            component:Sync,
        },
        {
            path:"/attrsListeners",
            name:"attrsListeners",
            component:AttrsListeners,
        },
    ]
})